import { _decorator, Button, Component, Node,EventHandler} from 'cc';
const { ccclass, property } = _decorator;

@ccclass('Button_3D')
export class Button_3D extends Component {
    
    @property(EventHandler)
    public event :EventHandler = new EventHandler();

    
    public excute(){
        this.event?.emit([this.event.customEventData]);
    }
}


